package com.ddstation.prescription_violate.mapper;

import java.util.List;

import com.ddstation.common.model.InvsCheckCommonSchParModel;
import com.ddstation.crud.entity.DtInvsViolationManageEntity;
import com.ddstation.home_page.model.HpCommonParModel;
import com.ddstation.prescription_violate.model.InstitutionViolateResModel;
import com.ddstation.prescription_violate.model.RealTimeMonitorModel;
import com.ddstation.prescription_violate.model.ViolateDetailParaModel;
import com.ddstation.prescription_violate.model.ViolateDetailResModel;
import com.ddstation.statement.model.IllegalTypeModel;

public interface PrescriptionViolateMapper {
	
	// 实时监控记录
	List<RealTimeMonitorModel> selectRealTimeMonitor(HpCommonParModel _p);
	
	// 机构别违规数据汇总
	List<InstitutionViolateResModel> selectViolateCntGroupbyInstitutionId(InvsCheckCommonSchParModel _p);
	
	// 指定机构处方违规明细查询
	List<ViolateDetailResModel> selectDataList(ViolateDetailParaModel _p);

	// 跟进信息更新
	int updateFollowStatus(DtInvsViolationManageEntity w);
	
	// 查询处方违规分类
	List<IllegalTypeModel> selectIllegalTypePrescription(HpCommonParModel _p); 
}
